home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Freeware / ttengine-4.3 / Developer / include / libraries / ttengine.h
Encoding:
C/C++ Source or Header  |  2002-10-27  |  2.1 KB  |  67 lines

  1. #ifndef LIBRARIES_TTENGINE_H
  2. #define LIBRARIES_TTENGINE_H
  3.  
  4. /* $VER: ttengine.h 4.3 (14.10.2002) (c) by Grzegorz Kraszewski 2002. */
  5.  
  6. #define TTENGINENAME "ttengine.library"
  7. #define TTENGINEVERSION 4
  8. #define TTENGINEMINVERSION 3
  9.  
  10. /* Tags */
  11.  
  12. /* Tags applicability legend: */
  13. /* O - TT_OpenFont()
  14. /* G - TT_GetAttrs()
  15. /* S - TT_SetAttrs()
  16.  
  17. /* ---- name -------------------- value ----- applicability */
  18.  
  19. #define TT_FontFile             0x6EDA0000    /* OG. */
  20.  
  21. #define TT_FontStyle            0x6EDA0001    /* OG. */
  22. #define TT_FontStyle_Regular    0
  23. #define TT_FontStyle_Italic     1
  24.  
  25. #define TT_FamilyTable          0x6EDA0002    /* O.. */
  26.  
  27. #define TT_FontSize             0x6EDA0003    /* OG. */
  28.  
  29. #define TT_FontWeight           0x6EDA0004    /* OG. */
  30. #define TT_FontWeight_Normal    400
  31. #define TT_FontWeight_Bold      700
  32.  
  33. #define TT_ColorMap             0x6EDA0005    /* O.. */
  34.  
  35. #define TT_Screen               0x6EDA0006    /* O.. */
  36.  
  37. #define TT_Window               0x6EDA0007    /* O.. */
  38.  
  39. #define TT_FontAscender         0x6EDA0008    /* .G. */
  40.  
  41. #define TT_FontDescender        0x6EDA0009    /* .G. */
  42.  
  43. #define TT_Antialias            0x6EDA000F    /* .GS */
  44. #define TT_Antialias_Auto       0
  45. #define TT_Antialias_Off        1
  46. #define TT_Antialias_On         2
  47.  
  48. #define TT_Encoding             0x6EDA0010    /* .GS */
  49. #define TT_Encoding_Default     0             /* use ENV:ttfcodepage or ISO-8859-1 if not found */
  50. #define TT_Encoding_Unicode     1             /* requires 16-bit string */
  51. #define TT_Encoding_ISO8859_1   2             /* Western Europe and US */
  52. #define TT_Encoding_ISO8859_2   3             /* Eastern Europe */
  53.  
  54. #define TT_FontName             0x6EDA0011    /* .G. */
  55. #define TT_FamilyName           0x6EDA0012    /* .G. */
  56. #define TT_SubfamilyName        0x6EDA0013    /* .G. */
  57.  
  58. #define TT_Transparency         0x6EDA0014    /* .GS  from 0 to 255 */
  59.  
  60. #define TT_ScaleX               0x6EDA0015    /* O.S  single precision floating point +- 0.01 to 100 */
  61.  
  62. #define TT_ScaleY               0x6EDA0016    /* O.S  single precision floating point +- 0.01 to 100 */
  63.  
  64. #endif /* LIBRARIES_TTENGINE_H */
  65.  
  66.  
  67.